import request from '@/api/request'

function doLogin(data) {
  return request({
    url: '/lejuAdmin/index/login', // 相对路径
    method: 'post',
    data
  })
}


export function getBaseData() {
  return request({
    url: '/lejuAdmin/dashboard/baseData',
    method: 'get'

  })
}


export {
  doLogin,
}
